package com.xca.znb.model.imodel;

import com.xca.znb.entity.Collect;
import com.xca.znb.entity.Goods;
import com.xca.znb.entity.NewsLetter;
import com.xca.znb.entity.Procurement;
import com.xca.znb.entity.User;

import java.util.List;

public interface IEnterStore {
    User getUserByPhone(String phone);
    List<Goods> getGoodsByPhone(String phone) ;
    List<Procurement> getProcurementByPhone(String phone);
    void addNewsletter(String phone1 , String phone2 , String time);
    NewsLetter getNewsLetterByPhone(String phone1 , String phone2);
    void addCollect(String gId , String type , String user);
    void delCollect(int id) ;
    Collect getCollect(String gId , String type , String user);
    void addOrUpdateFoot(int goodsId , String user , String time);
}
